.class public Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;
.super Lcom/hierynomus/smbj/smb2/d;
.source "SMB2SetInfoRequest.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;
    }
.end annotation


# instance fields
.field private final c:Lcom/hierynomus/smbj/smb2/a;

.field private final d:Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;

.field private final e:Lcom/hierynomus/msfscc/FileInformationClass;

.field private final f:[B

.field private final g:Lcom/hierynomus/msdtyp/SecurityInformation;


# direct methods
.method public constructor <init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;JJLcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;Lcom/hierynomus/smbj/smb2/a;Lcom/hierynomus/msfscc/FileInformationClass;Lcom/hierynomus/msdtyp/SecurityInformation;[B)V
    .locals 9

    move-object v8, p0

    .line 1
    sget-object v3, Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;->SMB2_SET_INFO:Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;

    const/16 v1, 0x21

    move-object v0, p0

    move-object v2, p1

    move-wide v4, p2

    move-wide v6, p4

    invoke-direct/range {v0 .. v7}, Lcom/hierynomus/smbj/smb2/d;-><init>(ILcom/hierynomus/smbj/smb2/SMB2Dialect;Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;JJ)V

    move-object/from16 v0, p7

    .line 2
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->c:Lcom/hierynomus/smbj/smb2/a;

    move-object v0, p6

    .line 3
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->d:Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;

    move-object/from16 v0, p8

    .line 4
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->e:Lcom/hierynomus/msfscc/FileInformationClass;

    if-nez p10, :cond_0

    const/4 v0, 0x0

    new-array v0, v0, [B

    goto :goto_0

    :cond_0
    move-object/from16 v0, p10

    .line 5
    :goto_0
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->f:[B

    move-object/from16 v0, p9

    .line 6
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->g:Lcom/hierynomus/msdtyp/SecurityInformation;

    return-void
.end method


# virtual methods
.method protected d(Lcom/hierynomus/smbj/common/b;)V
    .locals 2

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/d;->b:I

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 2
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->d:Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;

    invoke-virtual {v0}, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest$SMB2InfoType;->getValue()J

    move-result-wide v0

    long-to-int v1, v0

    int-to-byte v0, v1

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 3
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->e:Lcom/hierynomus/msfscc/FileInformationClass;

    invoke-virtual {v0}, Lcom/hierynomus/msfscc/FileInformationClass;->getValue()J

    move-result-wide v0

    long-to-int v1, v0

    int-to-byte v0, v1

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 4
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->f:[B

    array-length v0, v0

    int-to-long v0, v0

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/16 v0, 0x60

    .line 5
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 6
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 7
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->g:Lcom/hierynomus/msdtyp/SecurityInformation;

    if-nez v0, :cond_0

    const-wide/16 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-virtual {v0}, Lcom/hierynomus/msdtyp/SecurityInformation;->getValue()J

    move-result-wide v0

    :goto_0
    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 8
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->c:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    .line 9
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2SetInfoRequest;->f:[B

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-void
.end method
